<!DOCTYPE HTML>
<html>

<head>
  <meta charset="utf-8">
  <style>
    .rounded-horizontal-blocks .item {
      float: left;
      padding: 6px;
      margin: 0 2px;
      border: 1px solid gray;
      border-radius: 10px;
      cursor: pointer;
      font-size: 90%;
      background: #FFF5EE;
    }
    
    .vertical-splitter {
      float: left;
      padding: 6px;
      margin: 0 2px;
    }
    
    .item:hover {
      text-decoration: underline;
    }
  </style>
</head>

<body>

  <div class="rounded-horizontal-blocks">
    <div class="item">Главная</div>
    <div class="vertical-splitter">|</div>
    <div class="item">Товары</div>
    <div class="item">Фотографии</div>
    <div class="item">Контакты</div>
  </div>

</body>

</html>